﻿using System;
using Assist;
using Autodesk.Revit.DB;

namespace SectionSignAndFilled.StairsRoomPlanSign
{
	public static class StaticResource
	{
		public static BuiltInCategory UseDoorCategory
		{
			get
			{
                return (BuiltInCategory)(-2000023);
			}
		}

		public static BuiltInCategory UseWindowCategory
		{
			get
			{
				return (BuiltInCategory)(-2000014);
			}
		}

		public static BuiltInParameter UseWidthParam
		{
			get
			{
                return (BuiltInParameter)(-1001301);
			}
		}

		public static string Str_DimensionTypeName
		{
			get
			{
				return StaticResource.str_DimensionTypeName;
			}
		}

		public static string Str_CreateOffest
		{
			get
			{
				return StaticResource.str_CreateOffest;
			}
		}

		public static string Str_CreateReversed
		{
			get
			{
				return StaticResource.str_CreateReversed;
			}
		}

		public static double LineLengthForDimesion
		{
			get
			{
				return StaticResource.lineLengthForDimesion;
			}
		}

		public static double[] DimensionLineOffestValue
		{
			get
			{
				return StaticResource.dimensionLineOffestValue;
			}
		}

		public static string Str_ErroCanNotFindView
		{
			get
			{
				return StaticResource.str_ErrorCanNotFindView;
			}
		}

		public static string Str_ErrorCanNotFindLevel
		{
			get
			{
				return StaticResource.str_ErrorCanNotFindLevel;
			}
		}

		public static double DistanceOfBoundingBoxToDrawBox
		{
			get
			{
				return StaticResource.distanceOfBoundingBoxToDrawBox;
			}
		}

		public static double MoveDistanceOfStairsWidth
		{
			get
			{
				return AssistFunc.mmToFeet(100.0);
			}
		}

		public static double MoveDistanceOfStairsLegth
		{
			get
			{
				return AssistFunc.mmToFeet(-250.0);
			}
		}

		public static double MoveDistanceOfCut
		{
			get
			{
				return -AssistFunc.mmToFeet(200.0);
			}
		}

		private static string str_DimensionTypeName = ".*左下";

		private static string str_CreateOffest = "CreateOffset";

		private static string str_CreateReversed = "CreateReversed";

		private static double lineLengthForDimesion = 0.01;

		private static double[] dimensionLineOffestValue = new double[]
		{
			400.0,
			800.0
		};

		private static string str_ErrorCanNotFindView = "无法找到相应详图索引";

		private static string str_ErrorCanNotFindLevel = "无法找到相应标高";

		private static double distanceOfBoundingBoxToDrawBox = 1200.0;
	}
}
